<?php

namespace App\Library\Traits\Orm;

use App\Models\PaymentRelatedModel;
use Illuminate\Database\Eloquent\Relations\BelongsTo;

trait PaymentOrmTrait
{
    public function related(): BelongsTo
    {
        return $this->belongsTo(PaymentRelatedModel::class, 'payment_related_id');
    }
}
